﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudReader.Net.Protocol
{
    public class CloudReaderPackage
    {
        public const int MessageMaxSize = 1024 * 64;
        public const int StringMaxSize = 1024;
        public const int ValidateMaxSize = 512;
        public const int BroadCastMaxSize = 32 * 1024;
        public const int ImageMaxSize = 4 * 1048576;

        internal CloudReaderPackage() { }
        public int TotalLength { get; set; }
        public CloudReaderProtocolType Type { get; set; }
        public string Data { get; set; }

    }
}
